<html>
   <head>
      <link rel="stylesheet" type="text/css" href="style.css" />
   </head>
   <body onload="">
<h2 class="comptitle">Compound Module <i>HybridRouter</i></h2>
<b>Package:</b> mixnet.examples.hybrid<br/><b>File: <a href="examples-hybrid-HybridRouter.ned.html">examples/hybrid/HybridRouter.ned</a></b><br/>
<p>Router equipped with all types of NICs existent in the network's hosts,
able to route packages between all of the hosts.</p>
<p>It consists of an INET network-layer, MiXiM NICs (which are each connected
by a separate <a href="mixnet.modules.MixnetBridge.html">MixnetBridge</a>) and INET NICs.</p>
<img src="mixnet.examples.hybrid.HybridRouter-type.png" ismap="yes" usemap="#type-diagram"/><map name="type-diagram">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html" title="BatteryStats" alt="BatteryStats" coords="204,65,284,126">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html" title="SimpleBattery" alt="SimpleBattery" coords="293,65,340,126">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseUtility.html" title="BaseUtility" alt="BaseUtility" coords="137,65,181,126">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseMobility.html" title="BaseMobility" alt="BaseMobility" coords="130,135,184,196">
<area shape="rect" href="../../../inet/doc/neddoc/inet.base.NotificationBoard.html" title="NotificationBoard" alt="NotificationBoard" coords="7,65,118,126">
<area shape="rect" href="../../../inet/doc/neddoc/inet.networklayer.common.InterfaceTable.html" title="InterfaceTable" alt="InterfaceTable" coords="16,147,108,208">
<area shape="rect" href="../../../inet/doc/neddoc/inet.networklayer.ipv4.RoutingTable.html" title="RoutingTable" alt="RoutingTable" coords="22,216,102,277">
<area shape="rect" href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html" title="NetworkLayer" alt="NetworkLayer" coords="223,234,312,295">
<area shape="rect" href="../../../inet/doc/neddoc/inet.linklayer.ppp.PPPInterface.html" title="PPPInterface" alt="PPPInterface" coords="288,386,403,447">
<area shape="rect" href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html" title="EthernetInterface" alt="EthernetInterface" coords="213,361,322,422">
<area shape="rect" href="mixnet.modules.MixnetBridge.html" title="MixnetBridge" alt="MixnetBridge" coords="146,296,219,357">
<area shape="rect" href="mixnet.modules.MixnetBridge.html" title="MixnetBridge" alt="MixnetBridge" coords="51,296,137,357">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html" title="Nic80211" alt="Nic80211" coords="162,386,213,447">
<area shape="rect" href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html" title="Nic802154_TI_CC2420" alt="Nic802154_TI_CC2420" coords="72,386,118,447">
</map>
<h3 class="subtitle">Usage diagram:</h3>
<p>The following diagram shows usage relationships between types.
Unresolved types are missing from the diagram. Click <a href="full-ned-usage-diagram.html">here</a> to see the full picture.</p>
<img src="mixnet.examples.hybrid.HybridRouter-usage.png" ismap="yes" usemap="#usage-diagram"/><map name="usage-diagram"><area shape="rect" id="node1" href="mixnet.examples.hybrid.HybridRouter.html" title="Compound Module HybridRouter" alt="" coords="819,83,917,111">
<area shape="rect" id="node2" href="../../../inet/doc/neddoc/inet.base.NotificationBoard.html" title="Simple Module NotificationBoard" alt="" coords="5,161,128,189">
<area shape="rect" id="node4" href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseMobility.html" title="Simple Module BaseMobility" alt="" coords="152,161,248,189">
<area shape="rect" id="node6" href="ned.IdealChannel.html" title="Channel IdealChannel" alt="" coords="272,161,371,189">
<area shape="rect" id="node8" href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html" title="Simple Module SimpleBattery" alt="" coords="395,161,499,189">
<area shape="rect" id="node10" href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html" title="Simple Module BatteryStats" alt="" coords="523,161,616,189">
<area shape="rect" id="node12" href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseUtility.html" title="Simple Module BaseUtility" alt="" coords="640,161,725,189">
<area shape="rect" id="node14" href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html" title="Compound Module NetworkLayer" alt="" coords="749,161,851,189">
<area shape="rect" id="node16" href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html" title="Compound Module EthernetInterface" alt="" coords="875,161,997,189">
<area shape="rect" id="node18" href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html" title="Compound Module Nic802154_TI_CC2420" alt="" coords="1021,161,1179,189">
<area shape="rect" id="node20" href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html" title="Compound Module Nic80211" alt="" coords="1203,161,1280,189">
<area shape="rect" id="node22" href="../../../inet/doc/neddoc/inet.networklayer.common.InterfaceTable.html" title="Simple Module InterfaceTable" alt="" coords="1304,161,1408,189">
<area shape="rect" id="node24" href="../../../inet/doc/neddoc/inet.networklayer.ipv4.RoutingTable.html" title="Simple Module RoutingTable" alt="" coords="1432,161,1531,189">
<area shape="rect" id="node26" href="../../../inet/doc/neddoc/inet.linklayer.ppp.PPPInterface.html" title="Compound Module PPPInterface" alt="" coords="1555,161,1653,189">
<area shape="rect" id="node28" href="mixnet.modules.MixnetBridge.html" title="Simple Module MixnetBridge" alt="" coords="1677,161,1776,189">
<area shape="rect" id="node30" href="mixnet.examples.hybrid.Hybrid.html" title="Network Hybrid" alt="" coords="832,6,904,34">
</map>
<h3 class="subtitle">Inheritance diagram:</h3>
<p>The following diagram shows inheritance relationships for this type.
Unresolved types are missing from the diagram. Click <a href="full-ned-inheritance-diagram.html">here</a> to see the full picture.</p>
<img src="mixnet.examples.hybrid.HybridRouter-inheritance.png" ismap="yes" usemap="#inheritance-diagram"/><map name="inheritance-diagram"><area shape="rect" id="node1" href="mixnet.examples.hybrid.HybridRouter.html" title="Compound Module HybridRouter" alt="" coords="5,6,104,34">
</map>
<h3 class="subtitle">Networks:</h3>
<table>
<tr>
   <td>
      <a href="mixnet.examples.hybrid.Hybrid.html">Hybrid</a>
      <i> (network)</i>
   </td>
   <td>

<p>Network for testing a hybrid host (hybridRouter) containing different wired
(from INET) and wireless (from MiXiM) NICs.</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">routingFile</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">""</td>
   <td>   </td>
</tr>
</table>
<h3 class="subtitle">Properties:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Value</th>
      <th>Description</th>
   </tr>
<tr>
   <td width="150">node</td>
   <td width="100"><i></i></td>
   <td></td>
</tr>
<tr>
   <td width="150">labels</td>
   <td width="100"><i>node</i></td>
   <td></td>
</tr>
<tr>
   <td width="150">display</td>
   <td width="100"><i>i=device/wifilaptop;bgb=392,418</i></td>
   <td>
</td>
</tr>
</table>
<h3 class="subtitle">Gates:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Direction</th>
      <th>Size</th>
      <th>Description</th>
   </tr>
<tr class="local">
   <td width="150">pppg [ ]</xsl:if></td>
   <td width="100"><i>inout</i></td>
   <td width="50"></td>   <td></td>
</tr>
<tr class="local">
   <td width="150">ethg [ ]</xsl:if></td>
   <td width="100"><i>inout</i></td>
   <td width="50"></td>   <td></td>
</tr>
<tr class="local">
   <td width="150">wlanRadioIn</xsl:if></td>
   <td width="100"><i>input</i></td>
   <td width="50"></td>   <td></td>
</tr>
<tr class="local">
   <td width="150">lrwpanRadioIn</xsl:if></td>
   <td width="100"><i>input</i></td>
   <td width="50"></td>   <td></td>
</tr>
</table>
<h3 class="subtitle">Unassigned submodule parameters:</h3>
<table class="paramtable">
   <tr>
      <th>Name</th>
      <th>Type</th>
      <th>Default value</th>
      <th>Description</th>
   </tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>write per-activity and per-device statistics to omnetpp.sca
(if false, only total energy and lifetime are written)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.detail</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>subscribe to battery status and record time series
data in omnetpp.vec (resolution depends on battery's 
publishDelta)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.BatteryStats.html">batteryStats</a>.timeSeries</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.nominal</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>nominal battery capacity</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.capacity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>battery capacity</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.voltage</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>nominal voltage</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.resolution</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>capacity is updated at least every resolution time</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.publishDelta</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>if &gt; 0, capacity is published to the BB each publishTime 
interval</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.publishTime</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>number of modules that will draw energy from the 
battery</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.power.battery.SimpleBattery.html">battery</a>.numDevices</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120"></td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseUtility.html">utility</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the base framework</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseMobility.html">mobility</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for the core framework</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseMobility.html">mobility</a>.x</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>x coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseMobility.html">mobility</a>.y</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>y coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.base.modules.BaseMobility.html">mobility</a>.z</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>z coordinate of the nodes' position (-1 = random)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html">networkLayer</a>.<a href="../../../inet/doc/neddoc/inet.networklayer.ipv4.IP.html">ip</a>.procDelay</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0s</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html">networkLayer</a>.<a href="../../../inet/doc/neddoc/inet.networklayer.arp.ARP.html">arp</a>.retryTimeout</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1s</td>
   <td>
<p>number seconds ARP waits between retries to resolve an IP address</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html">networkLayer</a>.<a href="../../../inet/doc/neddoc/inet.networklayer.arp.ARP.html">arp</a>.retryCount</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">3</td>
   <td>
<p>number of times ARP will attempt to resolve an IP address</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.nodes.inet.NetworkLayer.html">networkLayer</a>.<a href="../../../inet/doc/neddoc/inet.networklayer.arp.ARP.html">arp</a>.cacheTimeout</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">120s</td>
   <td>
<p>number seconds unused entries in the cache will time out</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ppp.PPPInterface.html">ppp</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ppp.PPP.html">ppp</a>.mtu</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">4470</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.promiscuous</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>if true, all packets are received, otherwise only the
ones with matching destination MAC address</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.address</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">"auto"</td>
   <td>
<p>MAC address as hex string (12 hex digits), or
"auto". "auto" values will be replaced by
a generated MAC address in init stage 0.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.txrate</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">100Mbps</td>
   <td>
<p>maximum data rate supported by this station (bit/s);
actually chosen speed may be lower due to auto-
configuration. 0 means fully auto-configured.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.duplexEnabled</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
<p>whether duplex mode can be enabled or not; whether
MAC will actually use duplex mode depends on the result
of the auto-configuration process (duplex is only
possible with DTE-to-DTE connection).</p>
   </td>
</tr>
<tr>
   <td><a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EthernetInterface.html">eth</a>.<a href="../../../inet/doc/neddoc/inet.linklayer.ethernet.EtherMAC.html">mac</a>.mtu</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1500</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="mixnet.modules.MixnetBridge.html">wlanBridge</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="mixnet.modules.MixnetBridge.html">wlanBridge</a>.address</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">"auto"</td>
   <td>
<p>The INET MAC-address for this bridge's NIC</p>
   </td>
</tr>
<tr>
   <td><a href="mixnet.modules.MixnetBridge.html">wlanBridge</a>.mtu</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1500</td>
   <td>
<p>The maximum transmission unit for this bridge's NIC</p>
   </td>
</tr>
<tr>
   <td><a href="mixnet.modules.MixnetBridge.html">lrwpanBridge</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="mixnet.modules.MixnetBridge.html">lrwpanBridge</a>.address</td>
   <td width="100">
      <i>string</i>
   </td>
   <td width="120">"auto"</td>
   <td>
<p>The INET MAC-address for this bridge's NIC</p>
   </td>
</tr>
<tr>
   <td><a href="mixnet.modules.MixnetBridge.html">lrwpanBridge</a>.mtu</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1500</td>
   <td>
<p>The maximum transmission unit for this bridge's NIC</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.headerLength</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">272bit</td>
   <td>
<p>length of the MAC packet header (in bits)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable debugging for this module</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.queueLength</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">20</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.rtsCtsThreshold</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">-1</td>
   <td>
<p>Number of bits in a packet before RTS/CTS is used. 
Is currently not used.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.bitrate</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">2E+6bps</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.autoBitrate</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>auto bit rate selection support: specify borders at which
to change modulation.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.snr2Mbit</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1.46dB</td>
   <td>
<p>threshold to use 2Mbit (in dB)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.snr5Mbit</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">2.6dB</td>
   <td>
<p>threshold to use 5.5Mbit (in dB)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.snr11Mbit</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">5.68dB</td>
   <td>
<p>threshold to use 11Mbit (in dB)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.neighborhoodCacheSize</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">30</td>
   <td>
<p>keep information on neighborhood</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.neighborhoodCacheMaxAge</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">100s</td>
   <td>
<p>consider information in cache outdate if older than (in seconds)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.Mac80211.html">mac</a>.txPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">110.11mW</td>
   <td>
<p>the power to transmit packets with [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for core framework</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.recordStats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable/disable tracking of statistics (eg. cOutvectors)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.usePropagationDelay</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>Should transmission delay be simulated?</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.thermalNoise</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>the strength of the thermal noise [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.useThermalNoise</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>should thermal noise be considered?</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.analogueModels</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120"></td>
   <td>
<p>Specification of the analogue models to use and their parameters</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.decider</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120">xmldoc("Nic80211_Decider.xml")</td>
   <td>
<p>Specification of the decider to use and its parameters</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.sensitivity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">-119.5dBm</td>
   <td>
<p>The sensitivity of the physical layer [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.maxTXPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The maximum transimission power of the physical layer [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.initialRadioState</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>state the radio is initially in</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.radioMinAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1.0</td>
   <td>
<p>radios gain factor (attenuation) while receiving</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.radioMaxAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0.0</td>
   <td>
<p>radios gain factor (attenuation) while not receiving</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.nbRadioChannels</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">15</td>
   <td>
<p>Number of available radio channels. Defaults to single channel radio.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic80211.html">wlan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayer.html">phy</a>.initialRadioChannel</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1</td>
   <td>
<p>Initial radio channel.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch for core framework</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.recordStats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>enable/disable tracking of statistics (eg. cOutvectors)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.usePropagationDelay</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>Should transmission delay be simulated?</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.useThermalNoise</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>should thermal noise be considered?</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.analogueModels</td>
   <td width="100">
      <i>xml</i>
   </td>
   <td width="120"></td>
   <td>
<p>Specification of the analogue models to use and their parameters</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.sensitivity</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The sensitivity of the physical layer [dBm]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.maxTXPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120"></td>
   <td>
<p>The maximum transimission power of the physical layer [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.initialRadioState</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>state the radio is initially in</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.radioMinAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1.0</td>
   <td>
<p>radios gain factor (attenuation) while receiving</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.radioMaxAtt</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">0.0</td>
   <td>
<p>radios gain factor (attenuation) while not receiving</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.nbRadioChannels</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">1</td>
   <td>
<p>Number of available radio channels. Defaults to single channel radio.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.initialRadioChannel</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">0</td>
   <td>
<p>Initial radio channel.</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.phy.PhyLayerBattery.html">phy</a>.numActivities</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">5</td>
   <td>
<p>the number of different power consuming activities the phy layer has
change this parameter if your decider or physical layer uses more
than the default 5 activities (sleep, rx, tx, switching, decoding)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.notAffectedByHostState</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.coreDebug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120"></td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.debug</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
<p>debug switch</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.stats</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.trace</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">false</td>
   <td>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.queueLength</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">100</td>
   <td>
<p>size of the MAC queue (maximum number of packets in Tx buffer)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.txPower</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">1 mW</td>
   <td>
<p>tx power [mW]</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.useMACAcks</td>
   <td width="100">
      <i>bool</i>
   </td>
   <td width="120">true</td>
   <td>
<p>Send/Expect MAC acks for unicast traffic?</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.macMaxFrameRetries</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">3</td>
   <td>
<p>maximum number of frame retransmission
only used when usage of MAC acks is enabled</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.macMaxCSMABackoffs</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">4</td>
   <td>
<p>maximum backoffs</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.contentionWindow</td>
   <td width="100">
      <i>int</i>
   </td>
   <td width="120">2</td>
   <td>
<p># of backoff periods of the initial contention window
(for linear and constant backoff method only)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.macMinBE</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">3</td>
   <td>
<p>minimum backoff exponent (for exponential backoff method only)</p>
   </td>
</tr>
<tr>
   <td><a href="../../../MiXiM/doc/neddoc/org.mixim.modules.nic.Nic802154_TI_CC2420.html">lrwpan</a>.<a href="../../../MiXiM/doc/neddoc/org.mixim.modules.mac.CSMA802154.html">mac</a>.macMaxBE</td>
   <td width="100">
      <i>double</i>
   </td>
   <td width="120">5</td>
   <td>
<p>maximum backoff exponent (for exponential backoff method only)</p>
   </td>
</tr>
</table>
<h3 class="subtitle">Source code:</h3>
<pre class="src"><span style="color: #808080; font-style: italic; ">// Router equipped with all types of NICs existent in the network's hosts,
// able to route packages between all of the hosts.
//
// It consists of an INET network-layer, MiXiM NICs (which are each connected
// by a separate MixnetBridge) and INET NICs. 
</span><span style="color: #800000; font-weight: bold; ">module</span><span style="color: #000000; "> </span><span style="color: #000000; ">HybridRouter</span><span style="color: #000000; ">
{
    </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
        </span><span style="color: #000000; font-weight: bold; ">@node</span><span style="color: #000000; ">();
        </span><span style="color: #000000; font-weight: bold; ">@labels</span><span style="color: #000000; ">(</span><span style="color: #000000; ">node</span><span style="color: #000000; ">,</span><span style="color: #000000; ">ethernet</span><span style="color: #000000; ">-</span><span style="color: #000000; ">node</span><span style="color: #000000; ">,</span><span style="color: #000000; ">wireless</span><span style="color: #000000; ">-</span><span style="color: #000000; ">node</span><span style="color: #000000; ">);
        </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;i=device/wifilaptop;bgb=392,418&quot;</span><span style="color: #000000; ">);

        </span><span style="color: #000080; font-weight: bold; ">string</span><span style="color: #000000; "> </span><span style="color: #000000; ">routingFile</span><span style="color: #000000; "> = </span><span style="color: #800000; font-weight: bold; ">default</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;&quot;</span><span style="color: #000000; ">);
    </span><span style="color: #800000; font-weight: bold; ">gates</span><span style="color: #000000; ">:
        </span><span style="color: #000080; font-weight: bold; ">inout</span><span style="color: #000000; "> </span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">[] </span><span style="color: #000000; font-weight: bold; ">@labels</span><span style="color: #000000; ">(</span><span style="color: #000000; ">PPPFrame</span><span style="color: #000000; ">-</span><span style="color: #000000; ">conn</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">inout</span><span style="color: #000000; "> </span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">[] </span><span style="color: #000000; font-weight: bold; ">@labels</span><span style="color: #000000; ">(</span><span style="color: #000000; ">EtherFrame</span><span style="color: #000000; ">-</span><span style="color: #000000; ">conn</span><span style="color: #000000; ">);
        </span><span style="color: #000080; font-weight: bold; ">input</span><span style="color: #000000; "> </span><span style="color: #000000; ">wlanRadioIn</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@directIn</span><span style="color: #000000; ">;
        </span><span style="color: #000080; font-weight: bold; ">input</span><span style="color: #000000; "> </span><span style="color: #000000; ">lrwpanRadioIn</span><span style="color: #000000; "> </span><span style="color: #000000; font-weight: bold; ">@directIn</span><span style="color: #000000; ">;
    </span><span style="color: #800000; font-weight: bold; ">submodules</span><span style="color: #000000; ">:
        </span><span style="color: #000000; ">batteryStats</span><span style="color: #000000; ">: </span><span style="color: #000000; ">BatteryStats</span><span style="color: #000000; "> {
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=242,49;i=block/circle&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">battery</span><span style="color: #000000; ">: </span><span style="color: #000000; ">SimpleBattery</span><span style="color: #000000; "> {
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=314,49;i=block/control&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">utility</span><span style="color: #000000; ">: </span><span style="color: #000000; ">BaseUtility</span><span style="color: #000000; "> {
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=155,49&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">mobility</span><span style="color: #000000; ">: </span><span style="color: #000000; ">BaseMobility</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=155,119&quot;</span><span style="color: #000000; ">);
        }

        </span><span style="color: #000000; ">notificationBoard</span><span style="color: #000000; ">: </span><span style="color: #000000; ">NotificationBoard</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,49&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">interfaceTable</span><span style="color: #000000; ">: </span><span style="color: #000000; ">InterfaceTable</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,131&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">routingTable</span><span style="color: #000000; ">: </span><span style="color: #000000; ">RoutingTable</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; ">IPForward</span><span style="color: #000000; "> = </span><span style="color: #008000; ">true</span><span style="color: #000000; ">;
                </span><span style="color: #000000; ">routerId</span><span style="color: #000000; "> = </span><span style="color: #008000; ">&quot;auto&quot;</span><span style="color: #000000; ">;
                </span><span style="color: #000000; ">routingFile</span><span style="color: #000000; "> = </span><span style="color: #000000; ">routingFile</span><span style="color: #000000; ">;
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=60,200&quot;</span><span style="color: #000000; ">);
        }

        </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">: </span><span style="color: #000000; ">NetworkLayer</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; ">proxyARP</span><span style="color: #000000; "> = </span><span style="color: #008000; ">true</span><span style="color: #000000; ">;
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=265,218;q=queue&quot;</span><span style="color: #000000; ">);
            </span><span style="color: #800000; font-weight: bold; ">gates</span><span style="color: #000000; ">:
                </span><span style="color: #000000; ">ifIn</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))+</span><span style="color: #008000; ">2</span><span style="color: #000000; ">];
                </span><span style="color: #000000; ">ifOut</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))+</span><span style="color: #008000; ">2</span><span style="color: #000000; ">];
        }
        </span><span style="color: #000000; ">ppp</span><span style="color: #000000; ">[</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)]: </span><span style="color: #000000; ">PPPInterface</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=343,370,row,90;q=txQueue&quot;</span><span style="color: #000000; ">);
        }
        </span><span style="color: #000000; ">eth</span><span style="color: #000000; ">[</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">)]: </span><span style="color: #000000; ">EthernetInterface</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=265,345,row,90;q=txQueue&quot;</span><span style="color: #000000; ">);
        }

        </span><span style="color: #000000; ">wlanBridge</span><span style="color: #000000; ">: </span><span style="color: #000000; ">MixnetBridge</span><span style="color: #000000; "> {
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=180,280&quot;</span><span style="color: #000000; ">);
        }

        </span><span style="color: #000000; ">lrwpanBridge</span><span style="color: #000000; ">: </span><span style="color: #000000; ">MixnetBridge</span><span style="color: #000000; "> {
            </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=92,280&quot;</span><span style="color: #000000; ">);
        }

        </span><span style="color: #000000; ">wlan</span><span style="color: #000000; ">: </span><span style="color: #000000; ">Nic80211</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=180,370;q=queue&quot;</span><span style="color: #000000; ">);
        }

        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">: </span><span style="color: #000000; ">Nic802154_TI_CC2420</span><span style="color: #000000; "> {
            </span><span style="color: #800000; font-weight: bold; ">parameters</span><span style="color: #000000; ">:
                </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;p=92,370;i=block/ifcard&quot;</span><span style="color: #000000; ">);
        }

    </span><span style="color: #800000; font-weight: bold; ">connections</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">allowunconnected</span><span style="color: #000000; ">:


        </span><span style="color: #808080; font-style: italic; ">// connections to network outside
</span><span style="color: #000000; ">        </span><span style="color: #800000; font-weight: bold; ">for</span><span style="color: #000000; "> </span><span style="color: #000000; ">i</span><span style="color: #000000; ">=</span><span style="color: #008000; ">0</span><span style="color: #000000; ">..</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)-</span><span style="color: #008000; ">1</span><span style="color: #000000; "> {
            </span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">] </span><span style="color: #800000; font-weight: bold; ">&lt;--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">ppp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">phys</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">ppp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">netwOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifIn</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">];
            </span><span style="color: #000000; ">ppp</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">netwIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifOut</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">];
        }

        </span><span style="color: #800000; font-weight: bold; ">for</span><span style="color: #000000; "> </span><span style="color: #000000; ">i</span><span style="color: #000000; ">=</span><span style="color: #008000; ">0</span><span style="color: #000000; ">..</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">)-</span><span style="color: #008000; ">1</span><span style="color: #000000; "> {
            </span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">] </span><span style="color: #800000; font-weight: bold; ">&lt;--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">eth</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">phys</span><span style="color: #000000; ">;
            </span><span style="color: #000000; ">eth</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">netwOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifIn</span><span style="color: #000000; ">[</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #000000; ">i</span><span style="color: #000000; ">];
            </span><span style="color: #000000; ">eth</span><span style="color: #000000; ">[</span><span style="color: #000000; ">i</span><span style="color: #000000; ">].</span><span style="color: #000000; ">netwIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifOut</span><span style="color: #000000; ">[</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #000000; ">i</span><span style="color: #000000; ">];
        }

        </span><span style="color: #000000; ">wlanRadioIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">wlan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">radioIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">wlanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifIn</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))];
        </span><span style="color: #000000; ">wlanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifOut</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))];

        </span><span style="color: #000000; ">wlan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,25,50,25,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">wlanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerGateIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">wlan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,15,50,15,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">wlanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerGateOut</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">wlan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,75,50,75,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">wlanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerControlIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">wlan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,85,0,85,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">wlanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerControlOut</span><span style="color: #000000; ">;


        </span><span style="color: #000000; ">lrwpanRadioIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">radioIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">lrwpanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifIn</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))+</span><span style="color: #008000; ">1</span><span style="color: #000000; ">];
        </span><span style="color: #000000; ">lrwpanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">networkLayer</span><span style="color: #000000; ">.</span><span style="color: #000000; ">ifOut</span><span style="color: #000000; ">[(</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">pppg</span><span style="color: #000000; ">)+</span><span style="color: #800000; font-weight: bold; ">sizeof</span><span style="color: #000000; ">(</span><span style="color: #000000; ">ethg</span><span style="color: #000000; ">))+</span><span style="color: #008000; ">1</span><span style="color: #000000; ">];

        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,25,50,25,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">lrwpanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerGateIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperGateIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=black;m=m,15,50,15,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">lrwpanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerGateOut</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlOut</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,75,50,75,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">--&gt;</span><span style="color: #000000; "> </span><span style="color: #000000; ">lrwpanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerControlIn</span><span style="color: #000000; ">;
        </span><span style="color: #000000; ">lrwpan</span><span style="color: #000000; ">.</span><span style="color: #000000; ">upperControlIn</span><span style="color: #000000; "> </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> { </span><span style="color: #000000; font-weight: bold; ">@display</span><span style="color: #000000; ">(</span><span style="color: #008000; ">&quot;ls=red;m=m,85,0,85,0&quot;</span><span style="color: #000000; ">); } </span><span style="color: #800000; font-weight: bold; ">&lt;--</span><span style="color: #000000; "> </span><span style="color: #000000; ">lrwpanBridge</span><span style="color: #000000; ">.</span><span style="color: #000000; ">lowerControlOut</span><span style="color: #000000; ">;
}

</span></pre>
   <hr><p class="footer"><a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top"><img src="by-sa.png"></a> This documentation is released under the <a href="http://creativecommons.org/licenses/by-sa/3.0" target="_top">Creative Commons license</a></p>
   </body>
</html>
